australian foreign minister says deal is to focus on tracking citizens who join isis .
but one lawmaker describes it as `` dancing with the devil ''